<template>
  <div class="detailheader">
    <div class="top">
        <router-link tag="span" :to="'/list'" class="iconfont back-icon">&#xe771;</router-link>
        <span class="iconfont share">&#xe65c;</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'DetailHeader',
  props:{
    id:String
  },
  data () {
    return {
      
    }
  }
}
</script>


<style lang="stylus" scoped>
.detailheader
    width 100%
    height 1rem
    background-color #fff
    .top
        width 100%
        height 100%
        .iconfont
            font-size .64rem
            font-weight bold
        .back-icon 
            float left
            padding .2rem .25rem
        .share 
            float right
            padding .2rem .25rem
</style>
